package cn.yx.common.core.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private String name;
    private List<Book> books;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    static class Book {
        private String title;
    }
}
